import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import store from './store'

// 引入toast插件
import toast from './components/common/toast/index'
// 安装toast插件
Vue.use(toast)

// 解决触摸300ms延时
import FastClick from 'fastclick'
FastClick.attach(document.body)

// 图片懒加载
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload)

import './assets/fontawesome/css/font-awesome.css'

Vue.config.productionTip = false

Vue.prototype.$bus = new Vue()

new Vue({
  router,
  render: h => h(App),
  store
}).$mount('#app')
